﻿<?php

$query = $_SERVER["QUERY_STRING"];
$query = str_replace("=1", "", $query);
$query = str_replace("all=all&", "", $query);
$query = str_replace("&", "-", $query);

echo '<head><meta http-equiv="Refresh" content="0; URL=/page/spec/'.$query.'"></head><a href="/page/spec/'.$query.'">Проолжить</a>';

?>